from django.db import models

class Users(models.Model):
    user_id = models.AutoField(primary_key=True,db_column='user_id')
    username = models.CharField(max_length=100,db_column='username')
    password = models.CharField(max_length=100,db_column='password')
    email = models.CharField(max_length=100,db_column='email')


class Collections(models.Model):
    collection_id = models.AutoField(primary_key=True,db_column='collection_id')
    user_id = models.IntegerField(db_column='user_id')
    song_id = models.CharField(db_column='song_id', max_length=100)
    song_name = models.CharField(max_length=100)
    song_url = models.CharField(max_length=100)
    song_pic = models.CharField(max_length=100)


